import com.sqj.ChannelPay;
import com.sqj.IChannelPay;
import com.sqj.OrderInfo;
import com.sqj.PayResult;

public class Main {

    public static void main(String[] args) {
        OrderInfo orderInfo=new OrderInfo();
        orderInfo.setFee(10d);
        orderInfo.setGoodName("大宝剑");
        orderInfo.setGoodNo("dbj111");
        orderInfo.setPayChannel("ali");
        IChannelPay channelPay=new ChannelPay();
        PayResult result = channelPay.pay(orderInfo);
        System.out.println(result.getTaNo()+"\n"+result.isSuccess());
    }
}
